-- CALC_AVALON_CANNON_MAX_DURABILITY

-- 计算阿瓦隆巨炮的最大耐久度
return function(avalonCannon)
    -- 初始值
    local durability = AvalonCannonM.query(avalonCannon.classId, "init_durability");

    -- 耐久度加
    local prop = PropM.combine(avalonCannon, "attrib2", "durability");
    durability = PropM.apply(prop, durability);

    return durability;
end
